<!--{subtemplate jameson_read:touch/header}-->
<div class="header">
  <div class="weui-flex">
    <div class="weui-flex__item header_left" onclick="javascript:history.go(-1);">
      <i class="fa fa-chevron-left"></i>
    </div>
    <div class="weui-flex__item header_title">
    <a href="{eval echo mbreurl('book',$book['book_id']);}">[
    <!--{lang jameson_read:shuping}-->
    ]
    <!--{$book['book_name']}-->
    </a></div>
    <div class="weui-flex__item header_right flex-2">
      <a href="./plugin.php?id=jameson_read&contrl=touch&act=search">
        <i class="fa fa-search"></i>
      </a>
      <a href="javascript:;" class="open-popup" data-target="#bottomtab">
        <i class="fa fa-fw fa-bars"></i>
      </a>
    </div>
  </div>
</div>
<div class="weui-panel weui-panel_access">
  <div class="weui-panel__bd">
      <a href="{eval echo mbreurl('book',$book['book_id']);}" class="weui-media-box weui-media-box_appmsg">
        <div class="weui-media-box__hd">
          <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
        </div>
        <div class="weui-media-box__bd">
          <h4 class="weui-media-box__title">
          <!--{$book['book_name']}-->
          </h4>
          <p class="weui-media-box__desc">
          <!--{$book['desco']}-->
          </p>
        </div>
      </a>
    </div>
</div>

<div class="weui-cells weui-cells_form">
  <div class="weui-cell">
    <div class="weui-cell__bd">
      <textarea id="shupingtextarea" class="weui-textarea" placeholder="{lang jameson_read:sanshidaobabai}{$_G['jameson_read']['shupinglength']}" rows="3"></textarea>
    </div>
  </div>
  <div class="weui-btn-area">
        <button type="submit" onclick="jameson.postshuping($book['book_id'])" class="weui-btn weui-btn_primary" >
        <!--{lang jameson_read:fashuping}-->
        </button>
  </div>
</div>
<!--{if $indexadv[0]['adv']}-->
<div class="weui-panel weui-media-box zdyadv">
  <div class="weui-panel__bd">
    <!--{eval echo stripcslashes($indexadv[0]['adv']);}-->
  </div>
</div>
<!--{/if}-->

<div class="weui-panel weui-panel_access">
  <div class="weui-panel__bd" id="shupinglist">
    <!--{if $shuping}-->
    <!--{loop $shuping $key $sp}-->
      <a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
            <div class="weui-media-box__hd">
              <img class="weui-media-box__thumb" src="{eval echo avatar($sp['uid'],'middle',true);}">
            </div>
            <div class="weui-media-box__bd">
              <h4 class="weui-media-box__title">
              <!--{$sp['author']}-->
              </h4>
              <p class="weui-media-box__desc allpingluntext">
              <!--{eval echo nl2br($sp['text']);}-->
              </p>
            </div>
      </a>
    <!--{/loop}-->
    <!--{/if}-->
    </div>
    <div class="weui-panel__ft">
          <div class="weui-cell__bd">
            <div class="weui-flex">
              <!--{$pageshow}-->
            </div>
          </div>
          <span class="weui-cell__ft"></span>
    </div>
</div>

<!--{if $indexadv[1]['adv']}-->
<div class="weui-panel weui-media-box zdyadv">
  <div class="weui-panel__bd">
    <!--{eval echo stripcslashes($indexadv[1]['adv']);}-->
  </div>
</div>
<!--{/if}-->
<!--{subtemplate jameson_read:touch/footer}-->